import request from '@/sheep/request';

export default {
	//首页筛选
	getFilterInfo: (data) =>
		request({
			url: '/api/v1/image/filter-condition',
			method: 'POST',
			data,
			custom: {
				showSuccess: false,
				loadingMsg: '加载中',
				successMsg: '加载完成'
			},
		}),
	//查询首页线上选品列表
	getShowIndexGoodsList: (data) =>
		request({
			url: '/api/v1/image/search',
			method: 'POST',
			data,
			custom: {
				showSuccess: false,
				loadingMsg: '加载中',
				successMsg: '加载完成'
			},
		}),
	//找相似-图搜图
	getImageSearahPicture: (data) =>
		request({
			url: '/api/v1/image/pic/search',
			method: 'POST',
			data,
			custom: {
				showSuccess: false,
				loadingMsg: '加载中',
				successMsg: '加载完成',
				fileUpload: true
			},
		}),

}